
public class NewClass extends javax.swing.JFrame {
int x;
    public NewClass() {
       String str = "";
       str += x;
       System.out.println(str);
    }

    public static void main(String args[]) {
       NewClass nc = new NewClass();
    }

}
